#ifndef SALESWIDGET_H
#define SALESWIDGET_H

#include <QWidget>

// 设置键盘监听的Widget类
class SalesWidget : public QWidget
{
    Q_OBJECT
public:
    explicit SalesWidget(QWidget *parent = NULL);

protected:
    void keyPressEvent(QKeyEvent *event);


signals:
    void enterPressed();
    void asteriskPressed();
    void escPressed();
    void deletePressed();
    void plusPressed();
};

#endif // SALESWIDGET_H
